<?php
class Pages_admin extends Controller{
	
	function Pages_admin(){
		parent::Controller();
	}
	
	function index(){
		if($this->session->userdata('id')){
			
		$this->load->view('pages_admin/index');	
		}else{
			redirect(base_url());	
		}
	}
	
}